package com.egreen.common.pojo.VO.system;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class CommodityExchangeRecordVO implements Serializable {
    private static final long serialVersionUID = 1L;

    private Integer id;

    /**
     * 兑换时间（自动生成）
     */
    private LocalDateTime exchangeTime;

    /**
     * 兑换用户id
     */
    private Long userId;

    /**
     * 兑换物品id
     */
    private Integer commodityId;

    /**
     * 该条记录的状态
     */
    private String state;

    /**
     * 物流信息
     */
    private String logisticsInformation;
}
